package com.mybatisflex.demo.mask;

import com.mybatisflex.core.mask.MaskProcessor;

/**
 * @author 王帅
 * @since 2023-08-02
 */
public class IdNumberMaskProcessor implements MaskProcessor {

    @Override
    public Object mask(Object data) {
        if (data != null) {
            return data.toString().toUpperCase();
        }
        return null;
    }

}